﻿using System;
using System.Data;

namespace Library.OrmEnterpriseEntity.TableInfo {
	///<summary>
	///</summary>
	public class Int16ColumnView : DbColumnView {
		internal static Int16ColumnView Null = new Int16ColumnView(String.Empty, false, false, false, DbTableView.NullTableView);
		///<summary>
		///</summary>
		///<param name="columnName"></param>
		///<param name="isKey"></param>
		///<param name="forceHasValue"></param>
		///<param name="unique"></param>
		///<param name="tableView"></param>
		public Int16ColumnView(string columnName, bool isKey, bool forceHasValue, bool unique, DbTableView tableView)
			: base(columnName, isKey, forceHasValue, unique, tableView) {
		}

		#region Overrides of DbColumnView

		public override DbType DbType {
			get { return DbType.Int16; }
		}

		#endregion
	}
}
